import Mock from 'mockjs'

export default () => {
    Mock.mock('/tableList','get',{
        'status': 200,
        'total':10,
        'data':
        [{
            key: '1',
            name: '胡1',
            age: 32,
            address: '1',
        },
        {
            key: '2',
            name: '胡2',
            age: 42,
            address: '2',
        },
        {
            key: '3',
            name: '胡3',
            age: 32,
            address: '1',
        },{
            key: '4',
            name: '胡4',
            age: 32,
            address: '1',
        },
        {
            key: '5',
            name: '胡5',
            age: 42,
            address: '1',
        },
        {
            key: '6',
            name: '胡6',
            age: 32,
            address: '1',
        },{
            key: '7',
            name: '胡7',
            age: 32,
            address: '1',
        },
        {
            key: '8',
            name: '胡8',
            age: 42,
            address: '2',
        },
        {
            key: '9',
            name: '胡9',
            age: 32,
            address: '1',
        },{
            key: '10',
            name: '胡10',
            age: 32,
            address: '2',
        },
        {
            key: '11',
            name: '胡11',
            age: 42,
            address: '1',
        },
        {
            key: '12',
            name: '胡12',
            age: 32,
            address: '2',
        },{
            key: '13',
            name: '胡13',
            age: 32,
            address: '1',
        },
        {
            key: '14',
            name: '胡14',
            age: 42,
            address: '2',
        },
        {
            key: '15',
            name: '胡15',
            age: 32,
            address: '1',
        }]
    })
}